package com.chixing.day07.JiChengDemo;

public class FatherTest {
    public static void main(String[] args) {
        Son so1 = new Son();
        so1.f1();  //父类继承
        so1.f2();  //父类继承
        so1.s1();
        so1.s2();

        Father fa1 = new Son();
        fa1.f1();
        fa1.f2();
        fa1.hashCode(); //父类继承

        fa1.f3(); //编译的时候调用的父类, 运行的时候调用的子类
    }
}
